package com.pzhu.acargid.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 
 * @TableName lable
 */
@TableName(value ="lable")
@Data
public class Lable implements Serializable {
    /**
     * 
     */
    private Integer id;

    /**
     * 
     */
    private String lable;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Lable other = (Lable) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getLable() == null ? other.getLable() == null : this.getLable().equals(other.getLable()));
    }
}